/*******************************************************************************
 * Copyright (c) 2011 Google, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Google, Inc. - initial API and implementation
 *******************************************************************************/
package org.eclipse.wb.internal.swing.java6.model;

import org.apache.commons.lang.StringUtils;

/**
 * Represents sequential group.
 * 
 * @author mitin_aa
 * @coverage swing.model.layout.group
 */
public final class SequentialGroupInfo extends GroupInfo {
  ////////////////////////////////////////////////////////////////////////////
  //
  // Dump
  //
  ////////////////////////////////////////////////////////////////////////////
  @Override
  public void dump(int level, StringBuffer buffer) {
    buffer.append(StringUtils.repeat(" ", level));
    buffer.append("S\n");
    for (SpringInfo child : m_children) {
      child.dump(level + 1, buffer);
    }
  }
}
